<template>
  <div class="flow-main">
    <div>
      <el-button class="div-btn btn1" type="primary" @click="dialogVisible = true" size="mini">操作说明</el-button>
    </div>
    <el-dialog
      title="业务管理流程图"
      :visible.sync="dialogVisible"
      width="1100px"
      :before-close="handleClose">
      <div>
        <img width="100%" src="./d1.png" alt="">
      </div>
      <span slot="footer" class="dialog-footer">
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>
<script>
  export default {
    data() {
      return {
        dialogVisible: false
      };
    },
    methods: {
      handleClose(done) {
        this.$confirm('确认关闭？')
          .then(_ => {
            done();
          })
          .catch(_ => {});
      }
    }
  };
</script>
<style lang="scss" scoped>
  .flow-main{
    width: 1000px !important;
    height: 640px !important;
    background: url(./d1.png) no-repeat;
    margin: 10px;
    position: relative;
    background-size:1000px 640px;
  }
  .div-btn{
    display: inline-block;
    position: absolute;
  }
  .btn1{
    top: 330px;
    left: 556px;
  }
  // /deep/.el-button{
  //   border-color:red;
  // }
</style>